package com.leigang.common.parent.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author leig-a
 * @version 1.0
 * @desc
 * @date 2023/2/20 9:33
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ServerMonitorDto {
    @ApiModelProperty("主键id")
    private String id;

    @ApiModelProperty("服务器配置id")
    private String serverId;

    @ApiModelProperty("cpu大小")
    private BigDecimal cpu;

    @ApiModelProperty("内存大小")
    private BigDecimal memory;

    @ApiModelProperty("运行状态")
    private Boolean runStatus;

    @ApiModelProperty("cpu使用率")
    private BigDecimal cpuUsage;

    @ApiModelProperty("内存使用率")
    private BigDecimal memoryUsage;

    @ApiModelProperty("磁盘最大使用率")
    private BigDecimal diskMaxUsage;
}
